package ambika.inheritance1;

public class VehicleTest {

	public static void main (String[] args)
	{
		Vehicle v = new Vehicle();
		v.getMessage();
		Vehicle t = new Truck(10, "yellow","tractor");
		t.getMessage();
		Vehicle c = new Car(4, "white", "lexus");
		c.getMessage();
	}
}
